<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>LIF041-Infographie:  Fichier source de /home/the-king/LIFO41/lifo41-tp-infographie/Scene.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Généré par Doxygen 1.7.4 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">LIF041-Infographie</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
      <li><a href="dirs.html"><span>Répertoires</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
      <li><a href="globals.html"><span>Membres&#160;de&#160;fichier</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('_scene_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">/home/the-king/LIFO41/lifo41-tp-infographie/Scene.h</div>  </div>
</div>
<div class="contents">
<a href="_scene_8h.html">Aller à la documentation de ce fichier.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef _SCENE_H</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define _SCENE_H</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="preprocessor">#include &quot;<a class="code" href="_animation_8h.html">Animation.h</a>&quot;</span>
<a name="l00005"></a>00005 <span class="preprocessor">#include &quot;<a class="code" href="_image_8h.html">Image.h</a>&quot;</span>
<a name="l00006"></a>00006 
<a name="l00008"></a>00008 
<a name="l00014"></a><a class="code" href="struct_scene.html">00014</a> <span class="keyword">struct </span><a class="code" href="struct_scene.html" title="The structure Scene stores all texture Id or images used by the sceneDraw fonction.">Scene</a>
<a name="l00015"></a>00015 {
<a name="l00016"></a><a class="code" href="struct_scene.html#a248e39cdde8a7ec82c6b0e8708eaa209">00016</a>     <a class="code" href="struct_animation.html" title="un tableau dynamique contenant les points d&#39;une courbe d&#39;animation">Animation</a> <a class="code" href="struct_scene.html#a248e39cdde8a7ec82c6b0e8708eaa209">anim</a>;
<a name="l00017"></a><a class="code" href="struct_scene.html#ab294b405bb29f3e1e1465a7ec5643a28">00017</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="struct_scene.html#ab294b405bb29f3e1e1465a7ec5643a28">tex_tree</a>;
<a name="l00018"></a>00018 
<a name="l00019"></a><a class="code" href="struct_scene.html#a8c10afad5737351154ea82bcc1145336">00019</a>         <a class="code" href="structs_image.html" title="An image is defined by Width, Height, a number of Color and the data.">Image</a> <a class="code" href="struct_scene.html#a8c10afad5737351154ea82bcc1145336">terrain</a>;
<a name="l00020"></a><a class="code" href="struct_scene.html#aed13c57df6cdd03d2b605934cfdad76a">00020</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="struct_scene.html#aed13c57df6cdd03d2b605934cfdad76a">tex_terrain</a>;
<a name="l00021"></a>00021 
<a name="l00022"></a><a class="code" href="struct_scene.html#a6cb9d0948528484c0a67be38296b2b0f">00022</a>         <a class="code" href="struct_animation.html" title="un tableau dynamique contenant les points d&#39;une courbe d&#39;animation">Animation</a> <a class="code" href="struct_scene.html#a6cb9d0948528484c0a67be38296b2b0f">anim_camion</a>;
<a name="l00023"></a><a class="code" href="struct_scene.html#a6eed4cdebc5d5f46ef276823ad587f48">00023</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="struct_scene.html#a6eed4cdebc5d5f46ef276823ad587f48">cubemap1</a> ;
<a name="l00024"></a><a class="code" href="struct_scene.html#a3935f4882f27f4e430ad15383ef3062e">00024</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="struct_scene.html#a3935f4882f27f4e430ad15383ef3062e">cubemap2</a> ;
<a name="l00025"></a><a class="code" href="struct_scene.html#aae48e08c58737738e6e7089b3d071494">00025</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="struct_scene.html#aae48e08c58737738e6e7089b3d071494">cubemap3</a> ;
<a name="l00026"></a><a class="code" href="struct_scene.html#aa98d6334048d871f9634bb7d2fc588b4">00026</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="struct_scene.html#aa98d6334048d871f9634bb7d2fc588b4">cubemap4</a> ;
<a name="l00027"></a><a class="code" href="struct_scene.html#a852a54f0ce00ea463b9f128ab8c07bcd">00027</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="struct_scene.html#a852a54f0ce00ea463b9f128ab8c07bcd">cubemap5</a> ;
<a name="l00028"></a><a class="code" href="struct_scene.html#ac76ae8e1acbaf100141e8069bb36b626">00028</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="struct_scene.html#ac76ae8e1acbaf100141e8069bb36b626">cubemap6</a> ;
<a name="l00029"></a><a class="code" href="struct_scene.html#ab186b4909aebd605c05d777330c130df">00029</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="struct_scene.html#ab186b4909aebd605c05d777330c130df">tex_monde</a>;
<a name="l00030"></a><a class="code" href="struct_scene.html#ae388e09f8132892824bdf44a6f6cc1a1">00030</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="struct_scene.html#ae388e09f8132892824bdf44a6f6cc1a1">tex_soleil</a>;
<a name="l00031"></a><a class="code" href="struct_scene.html#a43e134cb720ec6aad395dcb28792152b">00031</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="struct_scene.html#a43e134cb720ec6aad395dcb28792152b">tex_lune</a>;
<a name="l00032"></a>00032 
<a name="l00033"></a><a class="code" href="struct_scene.html#a489825acbaa187ffae36805012c93d15">00033</a>         <span class="keywordtype">int</span> <a class="code" href="struct_scene.html#a489825acbaa187ffae36805012c93d15">pos</a>[40][3];
<a name="l00034"></a>00034 };
<a name="l00035"></a>00035 
<a name="l00041"></a>00041 <span class="keywordtype">void</span> <a class="code" href="_scene_8cpp.html#a21e5c2610df9ac4011f4c31dcc03fbd0" title="Dessiner le Terrain en chargeant l&#39;image et la texture.">dessineTerrain</a>(<span class="keyword">const</span>    <a class="code" href="structs_image.html" title="An image is defined by Width, Height, a number of Color and the data.">Image</a>&amp;  im);
<a name="l00043"></a>00043 <span class="keywordtype">void</span> <a class="code" href="_scene_8cpp.html#aca0046921c401f9e20902f6af27a9524" title="construction de la normale du Terrain">normalTerrain</a>(<span class="keyword">const</span> <a class="code" href="structs_image.html" title="An image is defined by Width, Height, a number of Color and the data.">Image</a>&amp;  im,<span class="keywordtype">int</span> i,<span class="keywordtype">int</span>   j);
<a name="l00044"></a>00044 
<a name="l00045"></a>00045 
<a name="l00046"></a>00046 
<a name="l00048"></a>00048 <span class="keywordtype">void</span> <a class="code" href="_scene_8cpp.html#a6e9e30393f6f6dc186462af74a6f3488">cubmap</a>();
<a name="l00049"></a>00049 
<a name="l00051"></a>00051 <span class="keywordtype">void</span> <a class="code" href="_scene_8cpp.html#a53ba1a40f4febfb0286a3120b08d56fb" title="construction d&#39;un arbre">dessine_arbre</a>();
<a name="l00052"></a>00052 
<a name="l00054"></a>00054 <span class="keywordtype">void</span> <a class="code" href="_scene_8cpp.html#aa3b59909c313958887fd226cc2b0ff62" title="dessine une foret avec un nombre specefique d&#39;arbre">dessine_foret</a>( <span class="keyword">const</span> <a class="code" href="struct_scene.html" title="The structure Scene stores all texture Id or images used by the sceneDraw fonction.">Scene</a>&amp; sc);
<a name="l00055"></a>00055 
<a name="l00057"></a>00057 <span class="keywordtype">void</span> <a class="code" href="_scene_8cpp.html#a726e1814e822ffaa5e6cb2a72f235513" title="Dessiner camion avec cube, cylindre ....">dessine_camion</a>(<span class="keyword">const</span> <a class="code" href="struct_scene.html" title="The structure Scene stores all texture Id or images used by the sceneDraw fonction.">Scene</a>&amp; sc);
<a name="l00058"></a>00058 
<a name="l00060"></a>00060 <span class="keywordtype">void</span> <a class="code" href="_scene_8cpp.html#a8ce5bd2e0adf9fae1bf8b9467685ad0c" title="Animation du camion.">anim_camion</a>(<span class="keyword">const</span> <a class="code" href="struct_scene.html" title="The structure Scene stores all texture Id or images used by the sceneDraw fonction.">Scene</a>&amp; sc);
<a name="l00061"></a>00061 
<a name="l00063"></a>00063 <span class="keywordtype">void</span> <a class="code" href="_scene_8cpp.html#a1af55a50cc28830f5b67765a98e84048" title="Construction le trajet du camion, rotatif ou rectiligne.">trajet_camion</a>(<span class="keyword">const</span> <a class="code" href="struct_scene.html" title="The structure Scene stores all texture Id or images used by the sceneDraw fonction.">Scene</a>&amp; sc);
<a name="l00064"></a>00064 
<a name="l00066"></a>00066 <span class="keywordtype">void</span> <a class="code" href="_scene_8cpp.html#ad8028bd062248a3761341f77a3aa97a0" title="creation de la rotation de la Terre">rotation_terre</a>();
<a name="l00067"></a>00067 
<a name="l00069"></a>00069 <span class="keywordtype">void</span> <a class="code" href="_scene_8cpp.html#ae7801b434dd5fb6bb3497baa6bac7769" title="Animation de la Terre avec la Texture.">anim_terre</a>(<span class="keyword">const</span> <a class="code" href="struct_scene.html" title="The structure Scene stores all texture Id or images used by the sceneDraw fonction.">Scene</a>&amp; sc);
<a name="l00070"></a>00070 
<a name="l00072"></a>00072 <span class="keywordtype">void</span> <a class="code" href="_scene_8cpp.html#aeab58dd56152cf2ff20a4b0452c16892" title="Animation de la lune avec la Texture.">anim_lune</a>(<span class="keyword">const</span> <a class="code" href="struct_scene.html" title="The structure Scene stores all texture Id or images used by the sceneDraw fonction.">Scene</a>&amp; sc);
<a name="l00073"></a>00073 
<a name="l00075"></a>00075 <span class="keywordtype">float</span> <a class="code" href="_scene_8cpp.html#a8765119b69795a6891fbd58613c97573" title="A utiliser dans le cas ou on veut dessiner notre propre arbre avec des Y.">fRand</a>();
<a name="l00077"></a>00077 <span class="keywordtype">void</span> <a class="code" href="_scene_8cpp.html#a3c7a477a7697820805d9c3d603fcbe43" title="A utiliser dans le cas ou on veut dessiner notre propre arbre avec des Y.">dArbre</a>(<span class="keywordtype">int</span> niveau, <span class="keywordtype">float</span> l);
<a name="l00079"></a>00079 <span class="keywordtype">void</span> <a class="code" href="_scene_8cpp.html#ab98b690f0e2f5dee7c510ca89b0809be" title="A utiliser dans le cas ou on veut dessiner notre propre arbre avec des Y.">dessine_arbre_avc_branches</a>(<span class="keyword">const</span> <a class="code" href="struct_scene.html" title="The structure Scene stores all texture Id or images used by the sceneDraw fonction.">Scene</a>&amp; sc);
<a name="l00080"></a>00080 
<a name="l00081"></a>00081 <span class="comment">/*************** FIN *******************/</span>
<a name="l00082"></a>00082 
<a name="l00083"></a>00083 
<a name="l00085"></a>00085 <span class="keywordtype">void</span> <a class="code" href="_scene_8cpp.html#aeaea5addb3a2cdd3413c0b1504fea008" title="Init a Scene.">sceneInit</a>(<a class="code" href="struct_scene.html" title="The structure Scene stores all texture Id or images used by the sceneDraw fonction.">Scene</a>&amp; sc);
<a name="l00086"></a>00086 
<a name="l00088"></a>00088 <span class="keywordtype">void</span> <a class="code" href="_scene_8cpp.html#aa4ba8f83288391c18a29cd6e6c75e22f" title="Draw the scene.">sceneDraw</a>(<span class="keyword">const</span> <a class="code" href="struct_scene.html" title="The structure Scene stores all texture Id or images used by the sceneDraw fonction.">Scene</a>&amp; sc);
<a name="l00089"></a>00089 
<a name="l00090"></a>00090 
<a name="l00092"></a>00092 <span class="keywordtype">void</span> <a class="code" href="_scene_8cpp.html#ab828bd844fc9d8e8a9f274ac790f83cb" title="Draw a cube.">draw_cube</a>();
<a name="l00093"></a>00093 
<a name="l00095"></a>00095 <span class="keywordtype">void</span> <a class="code" href="_scene_8cpp.html#ae995f2bd697f52899b0aa17e88d61329" title="Draw a cylinder.">draw_cylinder</a>();
<a name="l00096"></a>00096 
<a name="l00098"></a>00098 <span class="keywordtype">void</span> <a class="code" href="_scene_8cpp.html#a4dc817282d6901ffdadedef1491dba75" title="Draw a cone.">draw_cone</a>();
<a name="l00099"></a>00099 
<a name="l00101"></a>00101 <span class="keywordtype">void</span> <a class="code" href="_scene_8cpp.html#a75a7a45b0e28b753361f71f11cf418a8" title="Draw a sphere.">draw_sphere</a>();
<a name="l00102"></a>00102 
<a name="l00104"></a>00104 <span class="keywordtype">void</span> <a class="code" href="_scene_8cpp.html#a634dba686e70e7ff3f10c37d11f463da" title="Draw the X,Y,Z axes.">draw_axes</a>();
<a name="l00105"></a>00105 
<a name="l00107"></a>00107 <span class="keywordtype">void</span> <a class="code" href="_scene_8cpp.html#af1f57fdfd85ff30e66bbe69f6d43aa04" title="Draw a grid in the XZ plane.">draw_grid</a>();
<a name="l00108"></a>00108 
<a name="l00109"></a>00109 
<a name="l00110"></a>00110 <span class="preprocessor">#endif</span>
</pre></div></div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="_scene_8h.html">Scene.h</a>      </li>
      <li class="footer">Généré le Tue Jan 3 2012 09:33:59 pour LIF041-Infographie par&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </li>
    </ul>
  </div>

</body>
</html>
